package kr.co.dayve.site.domain;

/**
 * 게시판 페이징에 사용될 도메인
 */
public class DefaultVO {
	int currentPage;
    int pageSize;
    String totalRow;
    
    public DefaultVO() {
        currentPage = 0;
        pageSize = 0;
    }
    
    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize != 0 ? pageSize : 20;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(String totalRow) {
        this.totalRow = totalRow;
    }
}
